<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
    <script language="javascript" src="../script/jquery.js"></script>
    <script language="javascript" src="../script/pageCommon.js" charset="utf-8"></script>
    <script language="javascript" src="../script/PageUtils.js" charset="utf-8"></script>
    <script language="javascript" src="../script/DemoData.js" charset="utf-8"></script>
	<script language="javascript" src="../script/DataShowManager.js" charset="utf-8"></script>
    <link type="text/css" rel="stylesheet" href="../style/blue/pageCommon.css" />
	<link rel="stylesheet" type="text/css" href="../easyUI/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../easyUI/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../easyUI/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../easyUI/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../easyUI/plugins/jquery.datagrid.js"></script>
</head>
<body>
<!-- 标题显示 -->
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="../style/images/title_arrow.gif"/> 在线名单查看
        </div>
        <div id="Title_End"></div>
    </div>
</div>
<div id=MainArea>
<table id="dg"></table> 
</div>
</body>
<script th:inline="none">
	 $(document).ready(function() {
		$('#dg').datagrid({    
    url:'getonlineTable', 
    pagePosition:'bottom',
    pagination:'true',
    rownumbers:'true',
    showFooter:'true',
    showHeader:'true',
    toolbar: [{
		iconCls: 'icon-edit',
		handler: function(){alert('编辑按钮')}
	},'-',{
		iconCls: 'icon-help',
		handler: function(){alert('帮助按钮')}
	},'-',{
		iconCls: 'icon-print',
		handler: function(){alert('帮助按钮')}
	}],   
    columns:[[    
        {field:'name',title:'姓名',width:100,align:'center'},    
        {field:'account',title:'账号',width:300,align:'center'},    
        {field:'school',title:'学校',width:200,align:'center'},    
        {field:'college',title:'学院',width:300,align:'center'},    
        {field:'major',title:'专业',width:300,align:'center'},    
        {field:'clas',title:'班级',width:200,align:'center'}    
    ]]    
});  

	}) 
</script>
</html>